@extends('layouts.template')

@section('title', '个人中心')

@section('header')
@endsection

@section('content')
    <h2 class="bill_h2">周账单({{$detail->start_time->format('m.d')}}-{{$detail->end_time->subDay()->format('m.d')}})</h2>
    <div class="bill03 overflow_h">
        <p><span>订单数量(单)</span><span class="text04">{{$detail->order_count}}单</span></p>
        <p><span>订单金额(元)</span><span class="text05">{{$detail->income_sum}}元</span></p>
    </div>
    <div class="bill04">
        <ul>
            @foreach ($list as $row)
                <li><a href="{{url("order/detail/{$row->id}")}}"><span>{{$row->offer_price}}元</span>单号:{{$row->order_number}}</a></li>
            @endforeach
        </ul>
    </div>
@endsection